package com.qianya.system.face.web.patient.service;


import com.arcsoft.face.FaceInfo;
import com.arcsoft.face.toolkit.ImageInfo;
import com.qianya.model.common.CommonResult;
import com.qianya.system.face.web.patient.faceutil.dto.FaceRecognitionResDTO;
import com.qianya.system.face.web.patient.faceutil.entity.ProcessInfo;
import com.qianya.system.face.web.patient.model.PatientFileInfo;

import java.util.List;


public interface FaceEngineService {

    List<FaceInfo> detectFaces(ImageInfo imageInfo);
    Float compareFace(ImageInfo imageInfo1,ImageInfo imageInfo2) ;
    byte[] extractFaceFeature(ImageInfo imageInfo,FaceInfo faceInfo);
    //List<PatientFileInfo> faceRecognition(byte[] faceFeature, List<PatientFileInfo> userInfoList, float passRate) ;
    public CommonResult  faceRecognition(String image);
    List<ProcessInfo> process(ImageInfo imageInfo,List<FaceInfo> faceInfoList);
    CommonResult faceAdd(PatientFileInfo fileInfo);


    CommonResult selectPatientAdvice(String id);
}
